package com.tul.exercise.base.innerclass.chapter10_6;

import com.tul.exercise.base.innerclass.chapter10_4.Contents;

/**
 * @Description 《java编程思想》10.5
 *  匿名内部类
 **/
public class Pacel7 {
    public Contents destination (){
        return new Contents(){
            private int i = 11;

            public int value() {
                return  i;
            }
        };
    }
}
